<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017-02-06
 * Time: 18:24
 */
//require_once 'SqlTool.php';
class Factory{

    static function createDatabase($db){
        $sqlTool = new SqlTool($db);//方便修改,可以不用改许多地方
        return $sqlTool;
    }
}